package com.neu.dao;

import java.util.List;
import java.util.Map;

public interface BillDao {
    List<Map<String,Object>> findAll();

    List<Map<String,Object>> findIncomeBill();

    List<Map<String,Object>> findConsumeBill();

    List<Map<String,Object>> findMemberBill(String id);

    List<Map<String,Object>> findBillByDate(String date1,String date2);

    int insertBill(String money,String explain,String id);

    int deleteBill(String id,String id2);

    int update(String money,String id,String id2);

    List<Map<String, Object>> countIncome();

    List<Map<String, Object>> countConsume();
}
